package com.ruoyi.shop.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品模型对象 shop_goods_model
 * 
 * @author ruoyi
 * @date 2023-04-26
 */
public class ShopGoodsModel extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long ModelId;

	/** 类型名称 */
	private String modelName;

	/** 规格数量 */
	private Integer specCount;

	/** 规格集合json */
	private String specValue;

	/** 参数数量 */
	private Integer paramCount;

	/** 参数集合json */
	private Integer paramValue;

	/** 分类排序 */
	private Integer sort;


	public Long getModelId() {
		return ModelId;
	}

	public void setModelId(Long modelId) {
		ModelId = modelId;
	}

	public String getModelName() {
		return modelName;
	}

	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	public Integer getSpecCount() {
		return specCount;
	}

	public void setSpecCount(Integer specCount) {
		this.specCount = specCount;
	}

	public String getSpecValue() {
		return specValue;
	}

	public void setSpecValue(String specValue) {
		this.specValue = specValue;
	}

	public Integer getParamCount() {
		return paramCount;
	}

	public void setParamCount(Integer paramCount) {
		this.paramCount = paramCount;
	}

	public Integer getParamValue() {
		return paramValue;
	}

	public void setParamValue(Integer paramValue) {
		this.paramValue = paramValue;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("modelId", getModelId())
				.append("modelName", getModelName())
				.append("specCount", getSpecCount())
				.append("specValue", getSpecValue())
				.append("paramCount", getParamCount())
				.append("paramValue", getParamValue())
				.append("sort", getSort())
				.append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime()).toString();
	}
}
